module.exports = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
    'postcss-px-to-viewport-8-plugin': {
      unitToConvert: 'rpx',
      viewportWidth: 750,
      // unitPrecision: 5,
      // propList: ['*'],
      viewportUnit: 'vw',
      fontViewportUnit: 'vw',
      // selectorBlackList: [],
      // minPixelValue: 1,
      mediaQuery: true,
      // replace: true,
      // exclude: undefined,
      include: [/assets/, /components/, /layouts/, /pages/, /public\/css/, /app\.vue/, /error\.vue/],
      landscape: false,
      landscapeUnit: 'vw',
      landscapeWidth: 750,
    },
    ...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}),
  },
}
